package com.blog.service;

import com.blog.entity.Blogger;

import java.util.List;

public interface BloggerService {
    Blogger find();

    //通过ID查询一个用户
    Blogger getUserById(int id);

    Blogger getByUserNumber(String userNumber);

    Integer update(Blogger paramBlogger);

    //增加一个用户
    int addUser(Blogger blogger);

    List<Blogger> postBlogCountList();//发帖统计
}

